package com.rhb.erp.hr.person.business;
import java.util.List;

import com.rhb.erp.hr.person.bean.*;
import com.rhb.exception.DuplicateException;
import com.rhb.exception.RequiredException;

public interface PersonBusiness {
	public String create(Person obj) throws DuplicateException,RequiredException;
	public void update(Person obj) throws DuplicateException,RequiredException;
	public void delete(Person obj);
	public Person findByPk(String pk);

	public List findByQuery(PersonQuery query,int start, int count);
	public int getAllCount_findByQuery(PersonQuery query);

	public boolean existPersonNo(String no,String pk);
	public Person findByPersonNo(String no);

}
